package com.jxd.project.wzgl.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxd.project.wzgl.vo.WarehouseVO;
import com.jxd.project.menu.model.WarehouseKeeper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IWareHouseKeeperDao extends BaseMapper<WarehouseKeeper> {

    /**
     * 根据仓库查询仓管员
     * @param warehouseId
     * @return
     */
    List<WarehouseVO> selectHouseKeeperByHouseId(@Param("warehouseId") int warehouseId);

    /**
     * 根据仓管员ID查询仓库
     * @param houseKeeperId
     * @return
     */
    List<WarehouseVO> selectHouseIdByHouseKeeperId(@Param("houseKeeperId") int houseKeeperId);
}
